package cn.cs.service;

import cn.cs.common.Page;
import cn.cs.pojo.Invoice;

import java.util.List;
import java.util.Map;

public interface InvoiceService {

    public Invoice getInvoiceById(String id)throws Exception;

    public List<Invoice>	getInvoiceListByUserId(String userId, String userPid)throws Exception;

    public Integer getInvoiceCountByMap(Map<String, Object> param)throws Exception;

    public Integer addInvoice(Invoice invoice)throws Exception;


    public Integer modifyInvoice(Invoice invoice)throws Exception;

    public Integer deleteInvoiceById(Long id)throws Exception;

    public Integer updateAccountDetailByIds(String ids)throws Exception;

    public Page<Invoice> queryInvoicePageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize)throws Exception;
}
